home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- SG(#gPaused, 0)
- set labelName to the frameLabel
- if labelName = 0 then
- put "ERROR: Required Label missing from current frame"
- halt()
- end if
- set pos to offset("-", labelName)
- set stepNum to value(chars(labelName, pos + 1, length(labelName)))
- SG(#gStepNum, stepNum)
- set lineNum to GG(#gStepNum) + 1
- selectLine(GG(#gActiveScroller), lineNum, 0)
- if not IsListLineVisible(GG(#gActiveScroller), lineNum) then
- showTextAt(GG(#gActiveScroller), -lineNum)
- end if
- end
-